package com.sy.springboottest.action.demo1;

import com.sy.springboottest.pojo.QueryPojo;
import com.sy.springboottest.pojo.ResultPojo;

public class Produce {
 
	public ResultPojo sum(QueryPojo queryPojo) {
		ResultPojo resultPojo = new ResultPojo();
		resultPojo.setSum(queryPojo.getFirst()+queryPojo.getSecond());
		return resultPojo;
	}
}
